<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var d=new Array(4);
			d[0]="java";
			d[1]="python";
			d[2]="ruby";
			d[3]="nodejs";
			d[100]="c";//!!!!
			alert(d.length);
			alert(typeof(d[14]));
			var a2=["apple","oranage","water-melon","grape"];
			alert(a2.length);
			alert(a2[1]);
			var a3=new Array();
			a3[0]="马冬梅";
			a3[1]="什么冬梅";
			a3["jau"]="一月";
			a3["march"]="三月";
			 alert(a3.jau);	
			alert(a3["march"]);
			alert("a3的长度是"+a3.length);
		</script>
	</head>
	<body>
	</body>
</html>
